This function is the same as the above lock function, but passes back
additional information about the bytes per pixel and the bytes per stride
of the locked buffer. If the bytes per pixel or bytes per stride are unknown
or variable, or if the underlying mapper implementation does not support returning
additional information, then this call will fail with INVALID_OPERATION
Lock an AHardwareBuffer for direct CPU access.
This function is the same as the above lock function, but passes back additional information about the bytes per pixel and the bytes per stride of the locked buffer. If the bytes per pixel or bytes per stride are unknown or variable, or if the underlying mapper implementation does not support returning additional information, then this call will fail with INVALID_OPERATION